FROM tomcat:7.0.91-jre8

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localTime
COPY ./docker/server.xml /usr/local/tomcat/conf/server.xml
# COPY ./tomcat-users.xml /usr/local/tomcat/conf/tomcat-users.xml
# RUN rm -rf ../mall_rest/target/mall_rest/images/good/*.jpg
COPY ./rest/target/award_rest/ /usr/local/award
COPY ./docker/wx6971f11ba837964d.zmp8 /usr/local/award/
COPY ./docker/wx6971f11ba837964d.zmp12 /usr/local/award/
COPY ./jars/mysql-connector-java-5.1.35.jar /usr/local/tomcat/lib
# COPY ./docker/web.xml /usr/local/award/WEB-INF/
COPY ./docker/logback.xml /usr/local/award/WEB-INF/classes/
# COPY ./mall_rest/plugins  /usr/local/yueda/plugins
# COPY ./mall_rest/layouts  /usr/local/yueda/layouts